package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

public class UserChat extends DataObject {
    private long userId;
    private long worldForbiddenEndTime;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public long getWorldForbiddenEndTime() {
        return worldForbiddenEndTime;
    }

    public void setWorldForbiddenEndTime(long worldForbiddenEndTime) {
        if(this.worldForbiddenEndTime != worldForbiddenEndTime) {
            this.worldForbiddenEndTime = worldForbiddenEndTime;
            setUpdateOption();
        }
    }
}
